<?php
	/* Make sure that we came from the index page */
	if(!$index) include('security.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_GLOBALS['app']->title; ?> Login</title>
<link rel="stylesheet" type="text/css" href="/yui/build/reset-fonts-grids/reset-fonts-grids.css">
<style type="text/css">
* {
	font-family:Arial, Helvetica, sans-serif;
}
html {
	background-color:#000000;
}
div#login {
	border:#999999 solid 5px;
	width:400px;
	margin-left:auto;
	margin-right:auto;
}
div.hd {
	width:400px;
}
div.hd img {
	margin-left:138px;
	margin-right:138px;
}
div.bd {
	color:#FFFFFF;
	width:400px;
	text-align:center;
}
.title {
	text-align:center;
	font-weight:bold;
	font-size:18px;
}
table {
	border:#FFFFFF solid 2px;
	margin-top:-5px;
}
table tr th {
	font-size:16px;
	padding-right:4px;
}
th, td {
	padding:0 5px 0 5px;
}
</style>
</head>

<body>

<div id="doc2">
	<br />
  <div id="login">
  	<br />
    <div class="hd">
	    <img src="images/skull-death-icon.gif" />
    </div>
   	<div class="bd">
    	<form name="login" action="index.php" method="post">
 			<table>
      	<tr><td colspan="2">&nbsp;</td></tr>
      	<tr>
        	<th>UserName</th>
          <td><input type="text" name="username" /></td>
       	</tr>
        <tr>
        	<th>Password</th>
          <td><input type="password" name="pwd" /></td>
        </tr>
        <tr>
        	<td colspan="2">
          	<br />
            <input type="submit" name="submit" value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
          </td>
        </tr>
      	<tr><td colspan="2">&nbsp;</td></tr>
      </table>
      </form>
  	</div>
    <br />
  </div>
</div>

</body>
</html>
